package cn.rkylin.oms.refund.adapter;

import java.util.Map;

/**
 * 退款适配器
 * 
 * @author jipengcheng
 * @created 2017.04.09
 */
public abstract class RefundAdapter {
	private RefundVistor refundVistor;

	/**
	 * 构造函数
	 */
	public RefundAdapter() {

	}

	/**
	 * 下载退款单
	 * 
	 * @param paramMap
	 * @return 1成功，0失败
	 */
	public abstract int download(String shopId,Map<String, Object> paramMap) throws Exception;

	public void finalize() throws Throwable {

	}

	public RefundVistor getRefundVistor() {
		return refundVistor;
	}

	public void setRefundVistor(RefundVistor refundVistor) {
		this.refundVistor = refundVistor;
	}
}
